<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="description" content="">
  		<meta name="keywords" content="">
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0">
		<title>测试</title>
		<script src="libs/jquery.min.js"></script>
		<script src="libs/jquery.cookie.js"></script>
		<link rel="stylesheet" type="text/css" href="css/jquery.mloading.css"/>
		<script src="libs/jquery.mloading.js"></script>
		<script src="libs/echarts.js"></script>
	</head>
	<body>
		<p>测试测试</p>
		<div id="main" style="width: 80%;height:400px;"></div>
	</body>
	<script type="text/javascript">
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('main'));

        // 指定图表的配置项和数据
        var option = {
            title: {
            	top:'45%',
            	left:'30%',
                text: '总资产（元）'
            },
            legend: {
                data:['总资产']
            },
            color:['#EEEE00','#CD0000','#B23AEE'],
            series: [{
                name: '销量',
                type: 'pie',
                radius:['60%','70%'],
                data: [5, 20, 36],
                label:{normal:{
                	show:false
                }},
            }]
        };

        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
    </script>
</html>
